import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { MycenterPage } from './mycenter.page';
const routes: Routes = [
  {
    path: '',
    component: MycenterPage
  },
  {
    path: 'mydata',
    loadChildren: () => import('./mydata/mydata.module').then( m => m.MydataPageModule)
  },
  {
    path: 'uploading',
    loadChildren: () => import('./uploading/uploading.module').then( m => m.UploadingPageModule)
  },
  {
    path: 'uploadImg',
    loadChildren: () => import('./upload-img/upload-img.module').then( m => m.UploadImgPageModule)
  },
  {
    path: 'forgetpwd',
    loadChildren: () => import('./forgetpwd/forgetpwd.module').then( m => m.ForgetpwdPageModule)
  },
  {
    path: 'changepwd',
    loadChildren: () => import('./changepwd/changepwd.module').then( m => m.ChangepwdPageModule)
  },
  {
    path: 'suggest',
    loadChildren: () => import('./suggest/suggest.module').then( m => m.SuggestPageModule)
  },
  {
    path: 'aboutmy',
    loadChildren: () => import('./aboutmy/aboutmy.module').then( m => m.AboutmyPageModule)
  },
  {
    path: 'certificate',
    loadChildren: () => import('./certificate/certificate.module').then( m => m.CertificatePageModule)
  },
  {
    path: 'receivesite',
    loadChildren: () => import('./receivesite/receivesite.module').then( m => m.ReceivesitePageModule)
  },
  {
    path: 'verified',
    loadChildren: () => import('./verified/verified.module').then( m => m.VerifiedPageModule)
  },
  {
    path: 'addreceivesite',
    loadChildren: () => import('./addreceivesite/addreceivesite.module').then( m => m.AddreceivesitePageModule)
  }
 
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class MycenterPageRoutingModule {}
